package ink.liaoxuefeng.threaddemo.demo01;

/**
 * @author wangzhuangzhuang
 * @Description:
 * @date 2022-06-02 08:54
 */
public class TestDemo05 {
	public static void main(String[] args) {
		Thread t = new MyThreadDemo();
		t.run(); // Hello World
	}

}

class MyThreadDemo extends Thread{
	@Override
	public void run(){
		System.out.println("Hello World");
	}
}